package java8.timeutil;

import java.time.LocalDate;
import java.time.Month;
import java.time.format.DateTimeFormatter;

/**
 * @author Cheng Jun
 * @version 1.0
 * Description:
 * @date 2019/8/24 8:43
 */
public class MonthStudy {

    public static void main(String[] args) {
        Month JANUARY = Month.JANUARY;
        System.out.println(JANUARY.name());
        System.out.println(JANUARY);
        System.out.println(LocalDate.now().format(DateTimeFormatter.ofPattern("yyyyMM")));
    }

}
